#include<iostream>
#include <string>
using namespace std;
class Cube
{
private:
    float m_L;
    float m_w;
    float m_h;
public:
    void set_L(float l,float w ,float h)
    {
        m_L = l;m_h = h;m_w = w;
    }
    int get_L()
    {
        return m_L,m_w,m_h;
    }
    float caculate_s()
    {
        return 2*(m_h*m_L+m_h*m_w+m_L*m_w);
    }
    float caculate_v()
    {
        return m_h*m_L*m_w;
    }
};
int main()
{
    Cube c1;
    c1.set_L(10,10,10);
    cout<<c1.caculate_s()<<endl;
    return 0;
}
